import type {  FormRules } from 'element-plus'

// interface RuleForm {
//     name: string
//     region: string
//     count: string
//     date1: string
//     date2: string
//     delivery: boolean
//     type: string[]
//     resource: string
//     desc: string
// }


export const rules: FormRules = {
    username: [
        { required: true, message: '请输入用户名', trigger: 'blur' },
        { min: 3, max: 10, message: '3-10', trigger: 'blur' },
    ],
    password: [
        { required: true, message: '密码', trigger: 'blur' }
    ],
}